/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.find.dependencies.post;


import com.yiqi.lottery.feature.find.contract.CircleContract;
import com.yiqi.lottery.feature.find.contract.WriteCircleContract;
import com.yiqi.lottery.feature.find.presenter.CirclePresenter;
import com.yiqi.lottery.feature.find.presenter.WriteCirclePresenter;
import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:27
 */
@Module
public class PostCirclePresenterModule {
    private final WriteCircleContract.View mView;

    public PostCirclePresenterModule(WriteCircleContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public WriteCircleContract.Presenter provideWriteCirclePresenter(){
        return  new WriteCirclePresenter(mView);
    }

}
